package com.newtouch.avmarketing.mgr.modules.avmarkrting.service;

import com.newtouch.avmarketing.mgr.modules.avmarkrting.entity.DoubleAuditing;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.model.DoubleAuditingCondition;
import org.springframework.data.domain.Page;

public interface DoubleAuditingService {

    /**
     * 条件查询双录审核
     */
    Page<DoubleAuditing> findDoubleAuditing(DoubleAuditingCondition doubleAuditingCondition);

    DoubleAuditing findByPolicyCode(String policyCode);

    //checkStatus审核不通过
    void updateDoubleAuditing(String policyCode);
    //审核通过
    void updateDoubleAuditingPass(String policyCode);

    //更新录像完成时间
    void updateDoubleAuditingEndTime(String policyCode,String endTime);
}
